package com.yjd.bi.jf.model;

import com.yjd.comm.base.model.Model;

/**
 * <b>description</b>：会员积分流水表模型<br>
 * <b>time</b>：2017-03-07 15:09:16 <br>
 * <b>author</b>：  ready percy-chen@hotmail.com
 */
public class JfIntegralDataModel extends Model{

	/**
	* @Fields serialVersionUID
	*/
	private static final long serialVersionUID = 1L;
	
	 /*
	  *编号，主键，自动增长 
	  */
	private java.lang.Long id;
	 /*
	  *会员id 
	  */
	private java.lang.Long user_id;
	 /*
	  *类型，1001：签到获取积分，1002：投资获取积分，1003：兑换商品，2001：积分过期 
	  */
	private java.lang.Integer type;
	 /*
	  *增减标志,-1:减少，0:不增不减，1：增加 
	  */
	private java.lang.Integer incr;
	 /*
	  *发生额 
	  */
	private java.lang.Long price;
	 /*
	  *积分流水之后积分余额 
	  */
	private java.lang.Long balance;
	 /*
	  *创建时间 
	  */
	private java.lang.Long create_time;
	 /*
	  *关联对象类型 
	  */
	private java.lang.Integer ref_type;
	 /*
	  *关联对象id 
	  */
	private java.lang.Long ref_id;
	 /*
	  *0：未知，1：pc，2：android，3：ios，4：微信，5：wap,7：后台系统 
	  */
	private java.lang.Integer channel;
	 /*
	  *最后更新时间 
	  */
	private java.lang.Long update_time;
	 /*
	  *版本号，默认为0，每次更新+1 
	  */
	private java.lang.Long version;

	public java.lang.Long getId() {
		return id;
	}

	public void setId(java.lang.Long id) {
		this.id = id;
	}
	public java.lang.Long getUser_id() {
		return user_id;
	}

	public void setUser_id(java.lang.Long user_id) {
		this.user_id = user_id;
	}
	public java.lang.Integer getType() {
		return type;
	}

	public void setType(java.lang.Integer type) {
		this.type = type;
	}
	public java.lang.Integer getIncr() {
		return incr;
	}

	public void setIncr(java.lang.Integer incr) {
		this.incr = incr;
	}

        
	
	public java.lang.Long getPrice() {
	    return price;
	}

	public void setPrice(java.lang.Long price) {
	    this.price = price;
	}

	public java.lang.Long getBalance() {
		return balance;
	}

	public void setBalance(java.lang.Long balance) {
		this.balance = balance;
	}
	public java.lang.Long getCreate_time() {
		return create_time;
	}

	public void setCreate_time(java.lang.Long create_time) {
		this.create_time = create_time;
	}
	public java.lang.Integer getRef_type() {
		return ref_type;
	}

	public void setRef_type(java.lang.Integer ref_type) {
		this.ref_type = ref_type;
	}
	public java.lang.Long getRef_id() {
		return ref_id;
	}

	public void setRef_id(java.lang.Long ref_id) {
		this.ref_id = ref_id;
	}
	public java.lang.Integer getChannel() {
		return channel;
	}

	public void setChannel(java.lang.Integer channel) {
		this.channel = channel;
	}
	public java.lang.Long getUpdate_time() {
		return update_time;
	}

	public void setUpdate_time(java.lang.Long update_time) {
		this.update_time = update_time;
	}
	public java.lang.Long getVersion() {
		return version;
	}

	public void setVersion(java.lang.Long version) {
		this.version = version;
	}

}
